App.controller('taskDoneController', ['$scope', '$state', '$stateParams', 'Page', function($scope, $state, $stateParams, Page) {

    $scope.grid = {
        column_defs: [
            {
            	target: 1,
				template: function (row) {
				     return '<a href="javascript:void(0);;" ed-click="browser">' + row.processInstanceId + '</a>'
				}
            }
        ],
        browser: function (row) {
 			$state.go('auth.processView', {processInstanceId: row.processInstanceId});
        }
    }
}]);
